package com.ruoyi.culture.service.feign;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.domain.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

@FeignClient(contextId = "SysProfileService", value = ServiceNameConstants.SYSTEM_SERVICE, url = "localhost:8080/system/user/profile")
public interface SysProfileService {

    @PutMapping
    AjaxResult updateProfile(@RequestBody SysUser user);

}
